
{$header}<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">新增产品 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >名称：</td>
	<td class="tLeft" >
            <input type="text" name="name" value="" class="input-xxlarge">
        </td>
</tr>
<tr>
	<td class="tRight" >人工编码：</td>
	<td class="tLeft" >
            <input type="text" name="helpword" value="" class="large">默认拼音首字母，方便快速查询
        </td>
</tr>
<tr>
	<td class="tRight" >条形码：</td>
	<td class="tLeft" >
            <input type="text" name="tm" value="" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >类别：</td>
        <td class="tLeft" >
            <select name="cat_id">
                <option value="0" selected >无上级分类</option>
                <volist name="cate_list" id="list">
                    <option value="{$list.id}" >{$list.level}{$list.name}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >单位：</td>
	<td class="tLeft" >
            <select name="unit_id">
                <option value="-1">--请选择单位--</option>
                <volist name="units" id="ut">
                    <option value="{$key}" >{$ut}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >默认供应商：</td>
	<td class="tLeft" >
            <select name="supplier_id_default">
                <option value="-1">--请选择供应商--</option>
                <volist name="suppliers" id="sp">
                    <option value="{$key}" >{$sp}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td class="tRight" >默认进价：</td>
	<td class="tLeft" >
            <input type="text" name="cost_default" value="" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >默认零售价：</td>
	<td class="tLeft" >
            <input type="text" name="sale_price_default" value="" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >默认批发价：</td>
	<td class="tLeft" >
            <input type="text" name="wholesale_price_default" value="" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >库存报警点：</td>
	<td class="tLeft" >
            <input type="text" name="minstock" value="" class="small">
        </td>
</tr>

<tr>
	<td class="tRight tTop">备注：</td>
	<td class="tLeft"><textarea class="large bLeft"  name="remark" style="width:650px;height:100px;"></textarea></td>
</tr>
<tr>
	<td class="tRight">状态：</td>
        <td class="tLeft">
            <SELECT class="small bLeft"  name="status">
                <option value="1">启用</option>
                <option value="0">禁用</option>
            </SELECT>
        </td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<a class="btn btn-primary offset1" href="__URL__"><i class="icon-arrow-left icon-white"></i>返回</a>
	</td>
</tr>
</table>
</form>
</div>
</div>
